package ldh.im.fxbase.data.pojo.status;

import ldh.rpc.dto.ValueEnum;

public enum ImUserType implements ValueEnum<Byte> {
    User(1, "用户"),                 // 用户
    UserGroup(2, "组"),              // 组
    UserMarket(3, "用户市场"),        // 用户市场
    ;

    private Byte value;
    private String desc;

    private ImUserType(Integer value, String desc){
        this.value = value.byteValue();
        this.desc = desc;
    }

    @Override
    public Byte getValue() {
        return value;
    }

    public String getDesc() {
        return desc;
    }

}
